import { FC } from "react"
import Taro from '@tarojs/taro'
import success from '../../resource/success.png'
import style from './style.less'

const Success: FC = () => {
  return (
    <div className={style.root}>
      <img src={success} alt="" />
      <div className="success">支付成功</div>
      <div className="back" onClick={() => { Taro.reLaunch({ url: '/pages/order/index' }) }}>返回订单列表</div>
    </div>
  )
}

export default Success